/*
 * Created by JFormDesigner on Mon Mar 20 21:11:33 CST 2023
 */

package com.viking.gui.experimentequipment;

import java.awt.*;
import javax.swing.*;
import javax.swing.GroupLayout;
import javax.swing.LayoutStyle;
import javax.swing.table.*;

/**
 * @author 29046
 */
public class ExperimentEquipment extends JFrame {
    public ExperimentEquipment() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        equipmentNumbertextField1 = new JTextField();
        EquipmentIdlabel2 = new JLabel();
        EquipmentIdtextField2 = new JTextField();
        optimizeExperimentNametextField3 = new JTextField();
        experimentModeltextField4 = new JTextField();
        optimizeExperimentNamelabel3 = new JLabel();
        experimentModellabel4 = new JLabel();
        inquirebutton1 = new JButton();
        resetbutton2 = new JButton();
        scrollPane1 = new JScrollPane();
        table1 = new JTable();
        dlabel10 = new JLabel();
        pagelabel11 = new JLabel();
        addbutton3 = new JButton();
        changebutton4 = new JButton();
        deletebutton5 = new JButton();
        equipmentNumberlabel2 = new JLabel();
        downbutton2 = new JButton();
        upbutton1 = new JButton();
        comboBox3 = new JComboBox<>();

        //======== this ========
        setResizable(false);
        setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("\u5b9e\u9a8c\u8bbe\u5907");
        Container contentPane = getContentPane();

        //---- EquipmentIdlabel2 ----
        EquipmentIdlabel2.setText("\u8bbe\u5907id\uff1a");

        //---- optimizeExperimentNamelabel3 ----
        optimizeExperimentNamelabel3.setText("\u4f18\u5316\u8bbe\u5907\u540d\u79f0\uff1a");

        //---- experimentModellabel4 ----
        experimentModellabel4.setText("\u8bbe\u5907\u578b\u53f7\uff1a");

        //---- inquirebutton1 ----
        inquirebutton1.setText("\u67e5\u8be2");

        //---- resetbutton2 ----
        resetbutton2.setText("\u91cd\u7f6e");

        //======== scrollPane1 ========
        {

            //---- table1 ----
            table1.setModel(new DefaultTableModel(
                new Object[][] {
                    {null, null, null, null},
                    {null, null, null, null},
                    {null, null, null, null},
                    {null, null, null, null},
                },
                new String[] {
                    "\u8bbe\u5907id", "\u4f18\u5316\u8bbe\u5907\u540d\u79f0", "\u8bbe\u5907\u578b\u53f7", "\u8bbe\u5907\u7f16\u53f7"
                }
            ));
            scrollPane1.setViewportView(table1);
        }

        //---- dlabel10 ----
        dlabel10.setText("\u7b2c");

        //---- pagelabel11 ----
        pagelabel11.setText("\u9875");

        //---- addbutton3 ----
        addbutton3.setText("\u589e\u52a0");

        //---- changebutton4 ----
        changebutton4.setText("\u4fee\u6539");

        //---- deletebutton5 ----
        deletebutton5.setText("\u5220\u9664");

        //---- equipmentNumberlabel2 ----
        equipmentNumberlabel2.setText("\u8bbe\u5907\u7f16\u53f7\uff1a");

        //---- downbutton2 ----
        downbutton2.setText("\u4e0b\u4e00\u9875");

        //---- upbutton1 ----
        upbutton1.setText("\u4e0a\u4e00\u9875");

        //---- comboBox3 ----
        comboBox3.setModel(new DefaultComboBoxModel<>(new String[] {
            "1",
            "2",
            "3",
            "4",
            "5",
            "6"
        }));

        GroupLayout contentPaneLayout = new GroupLayout(contentPane);
        contentPane.setLayout(contentPaneLayout);
        contentPaneLayout.setHorizontalGroup(
            contentPaneLayout.createParallelGroup()
                .addGroup(contentPaneLayout.createSequentialGroup()
                    .addGap(34, 34, 34)
                    .addGroup(contentPaneLayout.createParallelGroup()
                        .addGroup(contentPaneLayout.createSequentialGroup()
                            .addComponent(scrollPane1, GroupLayout.PREFERRED_SIZE, 780, GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addGroup(contentPaneLayout.createSequentialGroup()
                            .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.TRAILING)
                                .addGroup(contentPaneLayout.createSequentialGroup()
                                    .addComponent(equipmentNumberlabel2)
                                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(equipmentNumbertextField1, GroupLayout.PREFERRED_SIZE, 95, GroupLayout.PREFERRED_SIZE)
                                    .addGap(40, 40, 40)
                                    .addComponent(EquipmentIdlabel2)
                                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(EquipmentIdtextField2, GroupLayout.PREFERRED_SIZE, 95, GroupLayout.PREFERRED_SIZE)
                                    .addGap(46, 46, 46)
                                    .addComponent(optimizeExperimentNamelabel3)
                                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(optimizeExperimentNametextField3, GroupLayout.PREFERRED_SIZE, 95, GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(experimentModellabel4))
                                .addGroup(contentPaneLayout.createSequentialGroup()
                                    .addGap(606, 606, 606)
                                    .addComponent(inquirebutton1)))
                            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                            .addGroup(contentPaneLayout.createParallelGroup()
                                .addComponent(resetbutton2)
                                .addComponent(experimentModeltextField4, GroupLayout.PREFERRED_SIZE, 95, GroupLayout.PREFERRED_SIZE))
                            .addGap(44, 44, 44))))
                .addGroup(contentPaneLayout.createSequentialGroup()
                    .addGap(49, 49, 49)
                    .addComponent(dlabel10)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(comboBox3, GroupLayout.PREFERRED_SIZE, 62, GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(pagelabel11, GroupLayout.PREFERRED_SIZE, 20, GroupLayout.PREFERRED_SIZE)
                    .addGap(42, 42, 42)
                    .addComponent(upbutton1)
                    .addGap(29, 29, 29)
                    .addComponent(downbutton2)
                    .addGap(134, 134, 134)
                    .addComponent(addbutton3)
                    .addGap(18, 18, 18)
                    .addComponent(changebutton4)
                    .addGap(18, 18, 18)
                    .addComponent(deletebutton5)
                    .addGap(0, 0, Short.MAX_VALUE))
        );
        contentPaneLayout.setVerticalGroup(
            contentPaneLayout.createParallelGroup()
                .addGroup(contentPaneLayout.createSequentialGroup()
                    .addGap(19, 19, 19)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(EquipmentIdlabel2)
                        .addComponent(EquipmentIdtextField2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(equipmentNumbertextField1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(equipmentNumberlabel2)
                        .addComponent(optimizeExperimentNamelabel3)
                        .addComponent(optimizeExperimentNametextField3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(experimentModellabel4)
                        .addComponent(experimentModeltextField4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
                    .addGap(29, 29, 29)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(inquirebutton1)
                        .addComponent(resetbutton2))
                    .addGap(31, 31, 31)
                    .addComponent(scrollPane1, GroupLayout.PREFERRED_SIZE, 135, GroupLayout.PREFERRED_SIZE)
                    .addGap(18, 18, 18)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(upbutton1)
                        .addComponent(deletebutton5)
                        .addComponent(downbutton2)
                        .addComponent(changebutton4)
                        .addComponent(addbutton3)
                        .addComponent(comboBox3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(dlabel10)
                        .addComponent(pagelabel11, GroupLayout.PREFERRED_SIZE, 20, GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(42, Short.MAX_VALUE))
        );
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    private JTextField equipmentNumbertextField1;
    private JLabel EquipmentIdlabel2;
    private JTextField EquipmentIdtextField2;
    private JTextField optimizeExperimentNametextField3;
    private JTextField experimentModeltextField4;
    private JLabel optimizeExperimentNamelabel3;
    private JLabel experimentModellabel4;
    private JButton inquirebutton1;
    private JButton resetbutton2;
    private JScrollPane scrollPane1;
    private JTable table1;
    private JLabel dlabel10;
    private JLabel pagelabel11;
    private JButton addbutton3;
    private JButton changebutton4;
    private JButton deletebutton5;
    private JLabel equipmentNumberlabel2;
    private JButton downbutton2;
    private JButton upbutton1;
    private JComboBox<String> comboBox3;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
